package scau.hotel.hotel_service.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 *
 * 入住明细传值类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CheckinInforVo {
    /**
     * 入住明细id
     */
    private Integer checkinInforId;
    /**
     * 入住id
     */
    private Integer checkinId;
    /**
     *
     * 房型名称
     */
    private String roomTypeName;
    /**
     * 房间id
     */
    private Integer roomId;
    /**
     * 房间编号
     */
    private String roomNo;
    /**
     * 入住时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd hh:mm:ss")
    private Date checkinDate;
    /**
     * 预计退房时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd hh:mm:ss")
    private Date checkoutDate;
    /**
     * 房间状态
     */
    private String roomState;
    /**
     * 房费
     */
    private BigDecimal roomPrice;
    /**
     * 押金
     */
    private BigDecimal cashPledge;
    /**
     * 支付方式
     */
    private String payWay;
    /**
     * 备注
     */
    private String remark;

}
